using System;
using System.Collections;
using System.Drawing;
using System.Data;
using System.Windows.Forms;
using Commonplace.Domain;
using System.Collections.Generic;

namespace Commonplace
{
	public class ImageDetail : DetailControl
	{
		private Commonplace.ImageThumbnail _thumb;

		public ImageDetail(ImageDetailRecord detail) : base(detail)
		{
			// This call is required by the Windows.Forms Form Designer.
			InitializeComponent();

			_thumb.Image = detail.Image;
		}

		#region Component Designer generated code
		/// <summary> 
		/// Required method for Designer support - do not modify 
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ImageDetail));
            this._thumb = new Commonplace.ImageThumbnail();
            this.SuspendLayout();
            // 
            // _thumb
            // 
            this._thumb.Image = null;
            this._thumb.Location = new System.Drawing.Point(8, 8);
            this._thumb.Name = "_thumb";
            this._thumb.Size = new System.Drawing.Size(152, 128);
            this._thumb.TabIndex = 0;
            this._thumb.TabStop = false;
            // 
            // ImageDetail
            // 
            this.Controls.Add(this._thumb);
            this.Name = "ImageDetail";
            this.Size = new System.Drawing.Size(512, 160);
            this.ResumeLayout(false);
            this.PerformLayout();

		}
		#endregion

	}
}
